package com.jizhi.service.impl;

import com.jizhi.entity.Examine;
import com.jizhi.mapper.ExamineMapper;
import com.jizhi.service.ExamineService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 罗兆良
 * @since 2020-11-16
 */
@Service
public class ExamineServiceImpl extends ServiceImpl<ExamineMapper, Examine> implements ExamineService {

    @Resource
    private ExamineMapper examineMapper;

    @Override
    public int getAddExamine(Examine examine) {
        return examineMapper.insert(examine);
    }
}
